NXP Semiconductors /LPC15xx /QEI /CONF

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CONF

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (DIRINV)DIRINV 0 (SIGMODE)SIGMODE 0 (CAPMODE)CAPMODE 0 (INVINX)INVINX 0 (CRESPI)CRESPI 0RESERVED0INXGATE0RESERVED

Description

Configuration register

Fields

DIRINV

Direction invert. When = 1, complements the DIR bit.

SIGMODE

Signal Mode. When = 0, PhA and PhB function as quadrature encoder inputs. When = 1, PhA functions as the direction signal and PhB functions as the clock signal.

CAPMODE

Capture Mode. When = 0, only PhA edges are counted (2X). When = 1, BOTH PhA and PhB edges are counted (4X), increasing resolution but decreasing range.

INVINX

Invert Index. When set, inverts the sense of the index input.

CRESPI

Continuously reset position counter on index. When set = 1, resets the position counter to all zeros when an index pulse occurs at the next position increase (recalibration). Auto-clears when the position counter is cleared.

RESERVED

Reserved

INXGATE

Index gating configuration: when INXGATE(19)=1, pass the index when Pha=0 and Phb=0, else block. when INXGATE(18)=1, pass the index when Pha=0 and Phb=1, else block. when INXGATE(17)=1, pass the index when Pha=1 and Phb=1, else block. when INXGATE(16)=1, pass the index when Pha=1 and Phb=0, else block.

RESERVED

reserved

Links

()